import demo.Bird;
import demo.Dog;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 62536
 * Date: 2023-11-09
 * Time: 14:41
 */


public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("旺财");
        Bird bird = new Bird("布谷");

        dog.run();
        bird.run();

        dog.eat();;
        bird.fly();

    }
}
